import request from '@/utils/request';

export async function getBomReviewByPage (params: any) {
    return request('/api/design/getBomReviewByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addBomReview (params: any) {
    return request('/api/design/addBomReview', {
    method: 'POST',
    data: params,
  });
}

export async function updateBomReview (params: any) {
    return request('/api/design/updateBomReview', {
    method: 'POST',
    data: params,
  });
}

export async function delBomReview (params: any) {
    return request('/api/design/delBomReview', {
    method: 'POST',
    data: params,
  });
}


export async function exportBomReview(params: any) {
    return request('/api/design/exportBomReview', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getBomReviewByPage, addBomReview, updateBomReview, delBomReview, exportBomReview }
